﻿@model IEnumerable<RestApp.UI.Models.User>

@{
	ViewBag.Title = "Index";
}

<link href="~/Content/datepicker3.css" rel="stylesheet" />
@System.Web.Optimization.Styles.Render("~/bundles/dataTable")

<h2>Заполнение фактов отработанного времени</h2>

<div class="container panel panel-back">
	@using (Html.BeginForm("Index", "JobFacts", FormMethod.Get))
	{
		<span>Дата работы: </span>
		<input type="text" value="@ViewData["onDate"]" name="dateFacts" id="dateFacts" />
		<input type="submit" value="Отобразить" />
	}
</div>

<div>

	@{Html.RenderPartial("~/Views/Shared/UsersGrid.cshtml", new RestApp.UI.Core.UsersGridSettings()
	  {
		  Users = Model,
		  GridType = RestApp.UI.Core.UsersGridType.JobFacts
	  });}

</div>
@section scripts{
	@System.Web.Optimization.Scripts.Render("~/bundles/listUsers")
	@System.Web.Optimization.Scripts.Render("~/bundles/jobFacts")
}
